home *** CD-ROM | disk | FTP | other *** search
/ By Popular Request 2.0 / By Popular Request 2.0 (Arsenal Computer).ISO / amiga_2 / cbrg4045.lha / cybershare / devdocs / include / cybergraphics / cybergraphics.i < prev    next >
Text File  |  1995-02-23  |  3KB  |  114 lines

  1.     IFND    CYBERGRAPHICS__I
  2. CYBERGRAPHICS__I     SET    1
  3.  
  4.  
  5.     INCLUDE "exec/types.i"
  6.     INCLUDE "utility/tagitem.i"
  7.     INCLUDE    "graphics/displayinfo.i"
  8.  
  9.  
  10. *
  11. * Definition of CyberModeNode (Returned in AllocModeList)
  12. *
  13.     STRUCTURE    CyberModeNode,0
  14.         STRUCT    cmn_Node,LN_SIZE
  15.         STRUCT    cmn_ModeText,DISPLAYNAMELEN
  16.         ULONG    cmn_DisplayID
  17.         UWORD    cmn_Width
  18.         UWORD    cmn_Height
  19.         UWORD    cmn_Depth
  20.         APTR    cmn_DisplayTagList
  21.         LABEL    cmn_SIZEOF
  22.  
  23.         
  24. *
  25. * Parameters for GetCyberMapAttr
  26. *
  27.  
  28. CYBRMATTR_XMOD        EQU    $80000001    function returns BytesPerRow if its called with this parameter
  29. CYBRMATTR_BPPIX        EQU    $80000002    BytesPerPixel shall be returned
  30. CYBRMATTR_DISPADR    EQU    $80000003    do not use this ! private tag
  31. CYBRMATTR_PIXFMT    EQU    $80000004    the pixel format is returned
  32. CYBRMATTR_WIDTH        EQU    $80000005    returns width in pixels
  33. CYBRMATTR_HEIGHT    EQU    $80000006    returns height in lines
  34. CYBRMATTR_DEPTH        EQU    $80000007    returns bits per pixel
  35. CYBRMATTR_ISCYBERGFX    EQU    $80000008    returns if supplied bitmap is a cybergfx one
  36.  
  37. *
  38. * Parameters for GetCyberIDAttr
  39. *
  40.  
  41. CYBRIDATTR_PIXFMT    EQU    $80000001    the pixel format is returned
  42. CYBRIDATTR_WIDTH    EQU    $80000002    returns visible width in pixels
  43. CYBRIDATTR_HEIGHT    EQU    $80000003    returns visible height in lines
  44. CYBRIDATTR_DEPTH    EQU    $80000004    returns bits per pixel
  45. CYBRIDATTR_BPPIX    EQU    $80000005    BytesPerPixel shall be returned
  46.  
  47. *
  48. * Tags for CModeRequestTagList
  49. *
  50.  
  51. CYBRMREQ_TB        EQU    (TAG_USER+$40000)
  52. ;
  53. ; FilterTags
  54. ;
  55. CYBRMREQ_MinDepth    EQU    CYBRMREQ_TB+0        Minimum depth for displayed screenmode
  56. CYBRMREQ_MaxDepth    EQU    CYBRMREQ_TB+1        Maximum depth  "       "        "
  57. CYBRMREQ_MinWidth    EQU    CYBRMREQ_TB+2        Minumum width  "       "        "
  58. CYBRMREQ_MaxWidth    EQU    CYBRMREQ_TB+3        Maximum width  "       "        "
  59. CYBRMREQ_MinHeight    EQU    CYBRMREQ_TB+4        Minumum height "       "        "
  60. CYBRMREQ_MaxHeight    EQU    CYBRMREQ_TB+5        Minumum height "       "        "
  61. CYBRMREQ_CModelArray    EQU    CYBRMREQ_TB+6        Filters certain color models
  62.  
  63. CYBRMREQ_WinTitle    EQU    CYBRMREQ_TB+20
  64. CYBRMREQ_OKText        EQU    CYBRMREQ_TB+21
  65. CYBRMREQ_CancelText    EQU    CYBRMREQ_TB+22
  66.  
  67. CYBRMREQ_Screen        EQU    CYBRMREQ_TB+30        Screen you wish the Requester to open on
  68.  
  69. *
  70. * Tags for BestCyberModeID
  71. *
  72.  
  73. CYBRBIDTG_TB        EQU    (TAG_USER+$50000)
  74. ;
  75. ; FilterTags
  76. ;
  77. CYBRBIDTG_Depth        EQU    CYBRBIDTG_TB+0
  78. CYBRBIDTG_NominalWidth    EQU    CYBRBIDTG_TB+1
  79. CYBRBIDTG_NominalHeight    EQU    CYBRBIDTG_TB+2
  80. CYBRBIDTG_MonitorID    EQU    CYBRBIDTG_TB+3
  81.  
  82.  
  83. PIXFMT_LUT8        EQU    0
  84. PIXFMT_RGB15        EQU    1
  85. PIXFMT_BGR15        EQU    2
  86. PIXFMT_RGB15PC        EQU    3
  87. PIXFMT_BGR15PC        EQU    4
  88. PIXFMT_RGB16        EQU    5
  89. PIXFMT_BGR16        EQU    6
  90. PIXFMT_RGB16PC        EQU    7
  91. PIXFMT_BGR16PC        EQU    8
  92. PIXFMT_RGB24        EQU    9
  93. PIXFMT_BGR24        EQU    10
  94. PIXFMT_ARGB32        EQU    11
  95. PIXFMT_BGRA32        EQU    12
  96. PIXFMT_RGBA32        EQU    13
  97.  
  98. PIXFMT_CNT        EQU    14
  99.  
  100. *
  101. * SrcRectangle formats defines for xxxPixelArray calls
  102. *
  103. RECTFMT_RGB        EQU    0
  104. RECTFMT_RGBA        EQU    1
  105. RECTFMT_ARGB        EQU    2
  106. RECTFMT_LUT8        EQU    3
  107. RECTFMT_GREY8        EQU    4
  108.  
  109.  
  110. CM_SRCtoDST        EQU    0
  111. CM_SRCeorDST        EQU    1
  112. CM_SRCswapDST        EQU    2
  113.     ENDC
  114.